package com.github.admin.edu.oauth.server.api.service;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Create by IntelliJ IDEA
 * 用户：王建
 * 日期：2018-8-30
 */
public interface ServiceQueryUserInformationApi {

    /**
     * 查询用户权限
     * @param userId
     * @return 用户权限信息
     */
    @GetMapping("/rest/api/query/user/roleAndOrgid")
    String getUserRoleOrgId(@RequestParam("userId")String userId);
}
